<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>
    <%=htmlWebpackPlugin.options.title%>
  </title>
</head>

<body>
  <h1>我是打包之前的html，打包后我会自动引入打包之后的js文件</h1>
  <img src="https://img1.baidu.com/it/u=2316213532,554940786&fm=253&fmt=auto&app=138&f=JPEG?w=640&h=483" alt="">
  <div class="box"></div>
</body>

</html>